#include <Inklude/ikFile.h>
#include <iostream>
#include <fstream>

using namespace std;
using namespace Inklude;

void Write(ikCString fileName, char* data, long index, long size)
{
    ifstream file(fileName.c_str(), ios::binary);
    file.read(data, size);
    file.close();
}

void Read(ikCString fileName, char* data, long index, long size)
{
    ofstream file(fileName.c_str(), ios::binary);
    file.write(data, size);
    file.close();
}

